﻿#region Using Statements
using System;
#endregion

namespace DirectZZT.Shared.World
{
    /// <summary>
    /// Specifies options used when loading a board using the <see cref="IWorldSerializer"/>.
    /// </summary>
    [Serializable()]
    public class WorldDeserializeOptions
    {    
        /// <summary>
        /// Gets/sets the file name of the file that the stream comes from.
        /// </summary>
        public string SourceFileName { get; set; }
        /// <summary>
        /// Gets/sets whether or not to entirely load the board, or not at all (in case of unreadable parts etc.).
        /// </summary>
        public bool StrictMode { get; set; }

        #region Constructors
        
        /// <summary>
        /// Initializes a new instance of the WorldLoadOptions class.
        /// </summary>
        public WorldDeserializeOptions()
        {
            StrictMode = true;
        }
        
        #endregion
    }
}
